package com.cashmama.market.api.application.controller.message.request;

import com.fqgj.common.api.ParamsObject;

import javax.validation.constraints.NotNull;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2019-12-26 15:06
 **/
public class MessageListGetRequest extends ParamsObject {

    /**
     * 页码
     */
    @NotNull(message = "pageNo can not be empty")
    private Integer pageNo;

    private String msgType;

    public Integer getPageNo() {
        return pageNo;
    }

    public MessageListGetRequest setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
        return this;
    }

    public String getMsgType() {
        return msgType;
    }

    public MessageListGetRequest setMsgType(String msgType) {
        this.msgType = msgType;
        return this;
    }

    @Override
    public void validate() {

    }
}
